home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / sampler4.arc / COPYSETS.BAT next >
DOS Batch File  |  1985-08-30  |  3KB  |  93 lines

  1. echo off
  2. cd c:%2
  3. echo Insert a blank diskette for SAMPLER Disk #1
  4. pause
  5. if not exist SAMPLER.EXE goto abort1
  6. copy SAMPLER.EXE %1 >null
  7. echo SAMPLER.EXE copied to Disk#1.
  8. if not exist SAMPLER0.OVL goto abort1
  9. copy SAMPLER0.OVL %1 >null
  10. echo SAMPLER0.OVL copied to Disk#1.
  11. echo Duplication of Disk#1 successful.
  12. goto disk2
  13. :abort1
  14. echo File not found on current directory. Reproduction of Disk#1 aborted.
  15. :disk2
  16. echo Insert a blank diskette for SAMPLER Disk #2
  17. pause 
  18. if not exist SAMPLER1.OVL goto abort2
  19. copy SAMPLER1.OVL %1 >null
  20. echo SAMPLER1.OVL copied to Disk#2.
  21. if not exist SAMPLER2.OVL goto abort2
  22. copy SAMPLER2.OVL %1 >null
  23. echo SAMPLER2.OVL copied to Disk#2.
  24. if not exist SAMPLER3.OVL goto abort2
  25. copy SAMPLER3.OVL %1 >null
  26. echo SAMPLER3.OVL copied to Disk#2.
  27. if not exist SAMPLER4.OVL goto abort2
  28. copy SAMPLER4.OVL %1 >null
  29. echo SAMPLER4.OVL copied to Disk#2.
  30. if not exist SAMPLER5.OVL goto abort2
  31. copy SAMPLER5.OVL %1 >null
  32. echo SAMPLER5.OVL copied to Disk#2.
  33. if not exist SAMPLER6.OVL goto abort2
  34. copy SAMPLER6.OVL %1 >null
  35. echo SAMPLER6.OVL copied to Disk#2.
  36. if not exist SAMPLER7.OVL goto abort2
  37. copy SAMPLER7.OVL %1 >null
  38. echo SAMPLER7.OVL copied to Disk#2.
  39. if not exist SAMPLER.FMT goto abort2
  40. copy SAMPLER.FMT %1 >null
  41. echo SAMPLER.FMT copied to Disk#2.
  42. echo Duplication of Disk#2 successful.
  43. goto disk3
  44. :abort2
  45. echo File not found on current directory. Reproduction of Disk#2 aborted.
  46. :disk3
  47. echo Insert a blank diskette for SAMPLER Disk #3
  48. pause
  49. if not exist REGRESS.SAC goto abort3
  50. copy REGRESS.SAC %1 >null
  51. echo REGRESS.SAC copied to Disk#3.
  52. if not exist FORECAST.SAC goto abort3
  53. copy FORECAST.SAC %1 >null
  54. echo FORECAST.SAC copied to Disk#3.
  55. if not exist DUMMY.SAC goto abort3
  56. copy DUMMY.SAC %1 >null
  57. echo DUMMY.SAC copied to Disk#3.
  58. if not exist REVISE.SAC goto abort3
  59. copy REVISE.SAC %1 >null
  60. echo REVISE.SAC copied to Disk#3.
  61. if not exist CROSSTAB.SAC goto abort3
  62. copy CROSSTAB.SAC %1 >null
  63. echo CROSSTAB.SAC copied to Disk#3.
  64. if not exist SAMPLER.DOC goto abort3
  65. copy SAMPLER.DOC %1 >null
  66. echo SAMPLER.DOC copied to Disk#3.
  67. if not exist README goto abort3
  68. copy README %1 >null
  69. echo README copied to Disk#3.
  70. if not exist FINANCE.SAC goto abort3
  71. copy FINANCE.SAC %1 >null
  72. echo FINANCE.SAC copied to Disk#3.
  73. if not exist POPDATA.SAL goto abort3
  74. copy POPDATA.SAL %1 >null
  75. echo POPDATA.SAL copied to Disk#3.
  76. if not exist IO.SAC goto abort3
  77. copy IO.SAC %1 >null
  78. echo IO.SAC copied to Disk#3.
  79. if not exist POPNEW.DIF goto abort3
  80. copy POPNEW.DIF %1 >null
  81. echo POPNEW.DIF copied to Disk#3.
  82. if not exist COPYSETS.BAT goto abort3
  83. copy COPYSETS.BAT %1 >null
  84. echo COPYSETS.BAT copied to Disk#3.
  85. if not exist README.BAT goto abort3
  86. copy README.BAT %1 >null
  87. echo README.BAT copied to Disk#3.
  88. echo Duplication of Disk#3 successful.
  89. goto end
  90. :abort3
  91. echo File not found on current directory. Reproduction of Disk#3 aborted.
  92. :end
  93.